package com.ruoyi.hk.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 医生审核对象 doc_doctor_regist
 * 
 * @author ruoyi
 * @date 2025-08-16
 */
public class DocDoctorRegist extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 医生注册表ID */
    private Long doctorRegistId;

    /** 医生账号(身份证) */
    @Excel(name = "医生账号(身份证)")
    private String doctorName;

    /** 医生昵称 */
    @Excel(name = "医生昵称")
    private String nickName;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 医生科属 */
    @Excel(name = "医生科属")
    private Long departmentTypeId;

    /** 审核状态(0通过 | 1未通过) */
    @Excel(name = "审核状态(0通过 | 1未通过)")
    private Long auditState;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date auditTime;

    private User user;
    private DocDepartment docDepartment;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public DocDepartment getDocDepartment() {
        return docDepartment;
    }

    public void setDocDepartment(DocDepartment docDepartment) {
        this.docDepartment = docDepartment;
    }

    public void setDoctorRegistId(Long doctorRegistId)
    {
        this.doctorRegistId = doctorRegistId;
    }

    public Long getDoctorRegistId() 
    {
        return doctorRegistId;
    }

    public void setDoctorName(String doctorName) 
    {
        this.doctorName = doctorName;
    }

    public String getDoctorName() 
    {
        return doctorName;
    }

    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }

    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }

    public void setDepartmentId(Long departmentTypeId)
    {
        this.departmentTypeId = departmentTypeId;
    }

    public Long getDepartmentTypeId()
    {
        return departmentTypeId;
    }

    public void setAuditState(Long auditState) 
    {
        this.auditState = auditState;
    }

    public Long getAuditState() 
    {
        return auditState;
    }

    public void setAuditTime(Date auditTime) 
    {
        this.auditTime = auditTime;
    }

    public Date getAuditTime() 
    {
        return auditTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("doctorRegistId", getDoctorRegistId())
            .append("doctorName", getDoctorName())
            .append("nickName", getNickName())
            .append("password", getPassword())
            .append("departmentTypeId", getDepartmentTypeId())
            .append("createTime", getCreateTime())
            .append("auditState", getAuditState())
            .append("auditTime", getAuditTime())
            .toString();
    }
}
